﻿define(function (require, exports, module) {
    var m_isinitialize = false;

    exports.getWidth = function () {
        return 800;
    };

    exports.getHeight = function () {
        return 600;
    };

    exports.getFontFamily = function () {
        return '微软雅黑';
    };

    exports.getFontSize = function () {
        return 12;
    };

    exports.getIsInitialize = function () {
        return m_isinitialize;
    };

    exports.init = function (data) {
        m_isinitialize = true;
        $.each(data, function (k, v) {
            exports['get' + k] = (function (value) {
                return function () {
                    return value;
                };
            })(v);
        });
    };
});